package mp3tagger.perspectives;

import mp3tagger.ids.Mp3TaggerIds;

import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

public class Perspective implements IPerspectiveFactory {

	public void createInitialLayout(IPageLayout layout) {
		layout.setEditorAreaVisible( false);
		layout.addView(Mp3TaggerIds.MP3_LIST_VIEW, IPageLayout.LEFT, 1f, IPageLayout.ID_EDITOR_AREA);
		layout.addView(Mp3TaggerIds.MP3_EDITOR_VIEW, IPageLayout.RIGHT, 0.5f, Mp3TaggerIds.MP3_LIST_VIEW);
	}
}
